package com.example.client.entity;

import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.User;

import java.util.Collection;

/**
 * @Auther: 三三它爹
 * @CreateTime: 2021/12/10
 * @Description: 安全上下文存储的用户信息
 */
public class UserDetail extends User {

    public UserDetail(String username, String password, Collection<? extends GrantedAuthority> authorities) {
        super(username, password, authorities);
    }
}
